public class Yuan {
    int r;
    int x;
    int y;
//    double s;
//    double c;
    public double getS(){
        return r*r*Math.PI;
    }
    public double getC(){
        return 2*r*Math.PI;
    }
    public void show(){
        System.out.println("圆的面积："+getS());
        System.out.println("圆的周长："+getC());
    }

}
